package beans.dao;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class person2 {
    List<person1> personlist ;
    Set<person1> personsset ;
    Map<Integer, person1> personsmap ;

    public void setPersonsmap(Map<Integer, person1> personsmap) {
        this.personsmap = personsmap;
    }

    public void setPersonlist(List<person1> personlist) {
        this.personlist = personlist;
    }

    public void setPersonsset(Set<person1> personsset) {
        this.personsset = personsset;
    }


    @Override
    public String toString() {
        return "person2{" +
                "personlist=" + personlist +
                ", personsset=" + personsset +
                ", personsmap=" + personsmap +
                '}';
    }
}
